import request from '@/utils/request'

export const getAppointmentList = async (data) => {
    return await request.get('/appointment/page', {params: data})
}

export const updateAppointmentStatus = async (data) => {
    return await request.get('/appointment/config', {params: data})
}

export const insertAppointment = async (data) => {
    return await request.post('/insertAppointment', data)
}

export const getAppointmentDoctorList = async (data) => {
    return await request.get('/appointment/doctor/page', {params: data})
}
